package net.osweb.crm.modules.customer.bean;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>
 * Title:CustomersReturnVisit.java
 * </p>
 * <p>
 * Description:客户回访表
 * </p>
 * <p>
 * Copyright: Copyright (c) 2010
 * </p>
 * <p>
 * Company:
 * </p>
 * 
 * @author <a href="jincool.cao@126.com">jincao</a>
 * @version: 1.0
 * @time:2011年8月5日14:56:24
 */
@Entity
@Table(name = "CUSTOMER_RETURN_VISIT")
public class CustomersReturnVisit implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5121163530787257757L;
	private Integer id;					//编号
	private Integer customer_id;		//客户id
	private Integer groupid;			//群组id
	private String subject;				//主题
	private Integer status;				//状态
	private Integer category;			//类别
	private Integer contentment;		//满意度
	private Integer createuserid;		//创建者id
	private String createuser;			//创建者
	private Integer customerserviceid;	//客户接受id
	private Integer isavailability;		//是否有效
	private Date createtime;			//	创建时间
	
	public Integer getCategory() {
		return category;
	}
	public void setCategory(Integer category) {
		this.category = category;
	}
	public Integer getContentment() {
		return contentment;
	}
	public void setContentment(Integer contentment) {
		this.contentment = contentment;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public String getCreateuser() {
		return createuser;
	}
	public void setCreateuser(String createuser) {
		this.createuser = createuser;
	}
	public Integer getCreateuserid() {
		return createuserid;
	}
	public void setCreateuserid(Integer createuserid) {
		this.createuserid = createuserid;
	}
	public Integer getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(Integer customer_id) {
		this.customer_id = customer_id;
	}
	public Integer getCustomerserviceid() {
		return customerserviceid;
	}
	public void setCustomerserviceid(Integer customerserviceid) {
		this.customerserviceid = customerserviceid;
	}
	public Integer getGroupid() {
		return groupid;
	}
	public void setGroupid(Integer groupid) {
		this.groupid = groupid;
	}
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getIsavailability() {
		return isavailability;
	}
	public void setIsavailability(Integer isavailability) {
		this.isavailability = isavailability;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}

	
}
